package com.springcloud.xxkfz.convert;

import com.springcloud.xxkfz.entity.Product;
import com.springcloud.xxkfz.vo.ProductVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface ProductConvert {
    ProductConvert INSTANCE = Mappers.getMapper(ProductConvert.class);
    List<ProductVO> toVO(List<Product> productList);
    ProductVO to2VO(Product productList);
}
